package com.example.teesystem.entity.vo.exam;

import com.example.teesystem.entity.vo.IssueRecord.IssueRecordInsertVo;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author : NieYaShi
 * @version : v1.0
 * @createTime : 2022/4/15 15:06
 */
@Data
public class ExamInsertVo {
    @NotNull(message = "试卷id不能为空")
    private Integer paperId;

    @Valid
    @NotEmpty(message = "试卷题目回答列表不能为空")
    List<IssueRecordInsertVo> issueAnswerVoList;
}
